package com.ants.boot.utils;

import java.util.UUID;

/**
 * @author 蚂蚁会花呗
 * @create 2025/3/5 17:47
 */
public class UuidUtils {

    /**
     * 随机生成UUID
     */
    public static synchronized String getUUID(){
        UUID uuid=UUID.randomUUID();
        String str = uuid.toString();
        return str.replace("-", "");
    }
}
